package mobi.greenplate.theweb.resource;

import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;

import javax.ws.rs.core.Response;

/**
 *
 * @author dmakariev
 */
public class NotFoundException extends WebApplicationException{
    private static final long serialVersionUID = 117347422857589994L;

    public NotFoundException(String message) {
        super(Response.status(Response.Status.NOT_FOUND).entity(message).type(MediaType.TEXT_PLAIN).build());

    }



}
